{% include 'front/header.html' %}
<br/>
<div id="page">
    <div style="padding: 20px; background-color: #F2F2F2;">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header">指数分析</div>
                    <div class="layui-card-body">
                        <img src='http://image2.sinajs.cn/newchart/min/n/sh000001.gif?'>
                        <img src='http://image2.sinajs.cn/newchart/daily/n/sh000001.gif?'>
                        <img src='http://image2.sinajs.cn/newchart/monthly/n/sh000001.gif?'>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-body">
                        <table style="width:100%;border:1px;font-size:12px;line-height:20px;">
                            <thead>
                            <th>简介</th>
                            <th>分时线</th>
                            <th>日K线</th>
                            <th>月K线</th>
                            </thead>
                            <tbody>
                            {% for row in content %}
                                <tr>
                                    <td style="padding:5px;">
                                        代码：<a href="/detail?code={{ row['code'] | safe | replace('SH', '') | replace('SZ', '') }}" target="_blank">{{ row["code"] }}</a><br>
                                        代码名称：{{ row["codename"] }}<br>
                                        分数：{{ row["score"] }}<br>
                                        涨幅：{{ row["zf"] }}<br>
                                        流通市值：{{ row["money"] }}
                                    </td>
                                    <td style="padding:5px;">概念：{{ row["gainian"] }}<br><img
                                            src='http://image2.sinajs.cn/newchart/min/n/{{ row["code"]|lower }}.gif?'>
                                    </td>
                                    <td style="padding:5px;"><img
                                            src='http://image2.sinajs.cn/newchart/daily/n/{{ row["code"]|lower }}.gif?'>
                                    </td>
                                    <td style="padding:5px;"><img
                                            src='http://image2.sinajs.cn/newchart/monthly/n/{{ row["code"]|lower }}.gif?'>
                                    </td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>